﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TaobaoERP.Core.EventArgs
{
    public class FailedEventArgs : EventArgsBase
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="FailedEventArgs"/> class.
        /// </summary>
        /// <param name="data">The data.</param>
        /// <param name="exception">The exception.</param>
        public FailedEventArgs(Object data, Exception exception)
            : base(data)
        {
            this.Exception = exception;
        }

        /// <summary>
        /// Gets or sets the exception.
        /// </summary>
        /// <value>The exception.</value>
        public Exception Exception { get; set; }
    }
}
